﻿package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SFashionHideMsg extends IMessageBase
    {
        public var isHideClothes:Boolean;
        public var isHidePug:Boolean;
        public var isHideWeapon:Boolean;
        public var isHideWing:Boolean;
        public const _type:int = 15162;
        public static var _regist:SFashionHideMsg = new SFashionHideMsg(true);

        public function SFashionHideMsg(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            return;
        }// end function

        override public function getType() : int
        {
            return this._type;
        }// end function

        override public function clone() : IMessageBase
        {
            return new SFashionHideMsg();
        }// end function

        override public function __write(param1:SerializeStream) : void
        {
            param1.writeBool(this.isHideClothes);
            param1.writeBool(this.isHidePug);
            param1.writeBool(this.isHideWeapon);
            param1.writeBool(this.isHideWing);
            return;
        }// end function

        override public function __read(param1:SerializeStream) : void
        {
            this.isHideClothes = param1.readBool();
            this.isHidePug = param1.readBool();
            this.isHideWeapon = param1.readBool();
            this.isHideWing = param1.readBool();
            return;
        }// end function

    }
}
